package com.youxin.infra.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ItemSink {
    private Integer id;
    private String name;
    private Long counts;
    private Timestamp ts;

    @Override
    public String toString() {
        return ""
                + id
                +","
                + name
                + ","
                + counts
                + ","
                + ts
                ;
    }
}
